package cn.huanzi.qch.baseadmin.sys.books.service;

import cn.huanzi.qch.baseadmin.common.service.CommonServiceImpl;
import cn.huanzi.qch.baseadmin.sys.books.pojo.Books;
import cn.huanzi.qch.baseadmin.sys.books.repository.BooksRepository;
import cn.huanzi.qch.baseadmin.sys.books.vo.BooksVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BooksServiceImpl extends CommonServiceImpl<BooksVo, Books, String> implements BooksService {

    @Autowired
    private BooksRepository bookCardRepository;

    public Books findBookCardByUserName(String userName){
        return bookCardRepository.findBookCardByUserName(userName);
    }
}
